.container {
	position: relative;
}
.dine-switch {
	font-size: 22rpx;
	background-color: #F7F7F7;
	color: #999999;
	border: 1px solid #E5E5E5;
	border-radius: 36rpx;
	padding: 4rpx;
	.type {
		width: 110rpx;
		text-align: center;
		padding: 8rpx;
	}
	.active {
		background-color: $theme-color;
		color: white;
		border-radius: 36rpx;
	}
}
.category-view {
	white-space: nowrap;
	font-weight: 500;
	.active {
		color: $theme-color;
		// font-weight: bold;
		position: relative;
	}
	.active::after {
		content: "";
		position: absolute;
		width: 33.3%;
		height: 6rpx;
		background-color: $theme-color;
		bottom: 0;
		left: 33.3%;
	}
}
.product-list {
	height: calc(100vh - 100rpx);
	width: 100vw;
	padding: 16rpx;
	box-sizing: border-box;
	.product-box {
		width: calc((100vw - 48rpx) / 2);
		height: 500rpx;
		border-radius: 14rpx;
		margin-bottom: 16rpx;
		.product-img{
			width: 100%;
			height: 60%;
			border-top-left-radius: 14rpx;
			border-top-right-radius: 14rpx;
		}
		.product-detail {
			height: 40%;
			margin-bottom: 20rpx;
			.product-title {
				height: 150rpx;
				font-size: 30rpx;
			}
		}
		.add-buttom{
			background-color: #025D47;
			color: white;
			border-radius: 50%;
			width: 50rpx;
			height: 50rpx;
			line-height: 45rpx;
			text-align: center;
			font-size: 50rpx;
		}
	}
	.product-box:nth-child(2n+1) {
		margin-right: 16rpx;
	}
	.cate-title{
		width: 30vw;
		text-align: center;
		margin: 28rpx 0;
		height: 60rpx;
		line-height: 60rpx;
		position: relative;
		color: #5b5b5b;
		font-size: 26rpx;
	}
	.cate-title:before,.cate-title:after{
		position: absolute;
		top: 50%;
		background-color: #b9b9b9;
		content: '';
		height: 2rpx;
		width: 50rpx;
	}
	.cate-title:before{left: 20rpx;}
	.cate-title::after{right: 20rpx;}
}
.disable-scroll {
	height: 100vh;
	overflow: hidden;
}
.cover {
	position: fixed;
	top: 0;
	left: 0;
	width: 100vw;
	height: 100vh;
	background-color: #7F7F7F;
	opacity: .8;
	z-index: 99;
}
.model {
	position: fixed;
	bottom: 0;
	left: 0;
	width: 100vw;
	height: 80vh;
	background-color: white;
	z-index: 999;
	padding: 30rpx;
	border-top-left-radius: 20rpx;
	border-top-right-radius: 20rpx;
}
.model-header {
	.amount {
		font-size: 24rpx;
		color: #999;
	}
	.product-img {
		width: 150rpx;
		height: 150rpx;
		border-radius: 15rpx;
		margin-right: 20rpx;
	}
	.close-buttom {
		position: relative;
		top: -15rpx;
		right: -15rpx;
		width: 90rpx;
		height: 90rpx;
	}
}
.spec-scroll-box {
	width: 100vw;
	height: calc(80vh - 150rpx - 60rpx - 120rpx);
    box-sizing: border-box;
	.spec-cate-title {
		color: #999999;
	}
	.spec-button{
		display: inline-block;
		color: #666;
		border: 1px solid #DDDDDD;
		border-radius: 10rpx;
		padding: 10rpx 20rpx;
		background-color: #F5F5F7;
		font-size: 26rpx;
		margin-right: 20rpx;
		margin-bottom: 20rpx;
	}
	.spec-button-selected {
		color: white;
		background-color: $theme-color;
	}
}
.add-cart-button {
	position: fixed;
	bottom: 20rpx;
	left: 15vw;
	background-color: $theme-color;
	color: white;
	border-radius: 45rpx;
	width: 70vw;
	padding: 15rpx;
	text-align: center;
}
.cart-dialog-button {
	position: fixed;
	bottom: 30rpx;
	left: 10vw;
	width: 80vw;
	background-color: #353A41;
	border-radius: 60rpx;
	.left {
		width: 70rpx;
		height: 70rpx;
		border-radius: 50%;
		background-color: #272C32;
		margin-left: 15rpx;
		position: relative;
		.cart-icon {
			width: 40rpx;
			height: 40rpx;
		}
		.quantity {
			position: absolute;
			top: -3rpx;
			right: -15rpx;
			width: 35rpx;
			height: 35rpx;
			font-size: 20rpx;
			background-color: #FB4E44;
			border: 1rpx solid white;
			border-radius: 50%;
			color: white;
			text-align: center;
		}
	}
	.submit {
		color: white;
		background-color: $theme-color;
		padding: 25rpx 30rpx;
		border-top-right-radius: 60rpx;
		border-bottom-right-radius: 60rpx;
	}
}

.cart-dialog-list-box {
	.cover {
		opacity: 0.3;
	}
	
	.model {
		padding: 0;
		width: 90vw;
		height: 60vh;
		left: 5vw;
		bottom: 150rpx;
		border-radius: 20rpx;
	}
	.header {
		padding: 20rpx;
		background-color: #F6F4F5;
		border-top-left-radius: 20rpx;
		border-top-right-radius: 20rpx;
	}
	.list {
		height: 50vh;
		overflow-y: auto;
		.item {
			padding: 20rpx 0;
			height: 100rpx;
		}
		.item:not(:last-child) {
			border-bottom: 1px solid #eee;
		}
		.item:first-child{
			padding-top: 0;
		}
	}
}
.sub-button {
	width: 40rpx;
	height: 40rpx;
	color: $theme-color;
	border: 4rpx solid $theme-color;
	border-radius: 50%;
	text-align: center;
	line-height: 24rpx;
	font-size: 42rpx;
}
.quantity {
	margin: 0 15rpx;
}
.add-button {
	width: 40rpx;
	height: 40rpx;
	color: white;
	background-color: $theme-color;
	border-radius: 50%;
	text-align: center;
	line-height: 36rpx;
}
.select-prop{
	padding: 9rpx 16rpx;
	font-size: 22rpx;
	border-radius: 24rpx;
	line-height: 24rpx;
}
.cate-box:last-child{
	padding-bottom: 150rpx;
}